package response

// ExamSubmitResponse 提交答案响应结构体
type ExamSubmitResponse struct {
	ExamID     int `json:"examId"`
	Total      int `json:"total"`
	Correct    int `json:"correct"`
	Wrong      int `json:"wrong"`
	Unanswered int `json:"unanswered"`
}

// RecentExamResponse 最近考试结果响应结构体
type RecentExamResponse struct {
	ExamID     int    `json:"examId"`
	Total      int    `json:"total"`
	Corrent    int    `json:"corrent"`
	Wrong      int    `json:"wrong"`
	Unanswered int    `json:"unanswered"`
	ExamTime   string `json:"examTime"`
}

// ExamRecordItem 单条考试记录
type ExamRecordItem struct {
	ExamID   int    `json:"examId"`
	Correct  int    `json:"correct"`
	Total    int    `json:"total"`
	ExamTime string `json:"examTime"`
}

// ExamRecordPagination 分页信息
type ExamRecordPagination struct {
	Page      int `json:"page"`
	PageSize  int `json:"pageSize"`
	Total     int `json:"total"`
	TotalPage int `json:"totalPage"`
}

// ExamRecordResponse 响应结构体
type ExamRecordResponse struct {
	List       []ExamRecordItem     `json:"list"`
	Pagination ExamRecordPagination `json:"pagination"`
}
